	//
	//  JsCvcIlModel.m
	//  JsoMediaCaptureViewController
	//
	//  Created by Gikki Ares on 2020/9/23.
	//

#import "JsCvcIlModel.h"

@implementation JsCvcIlModel

+ (JsCvcIlModel *)modelWithImageName:(nullable NSString *)imageName title:( NSString *)title {
	return [[JsCvcIlModel alloc] initWithTitle:title imageName:imageName];
}


- (instancetype)initWithTitle:( NSString *)title imageName:(nullable NSString *)imageName {
	if(self = [super init]) {
		mstr_imageName_selected = imageName;
		mstr_imageName_unselected = imageName;
		mstr_title = title;
		mstyle = [JsCvcIlStyle defaultStyle];
	}
	return self;
}



- (instancetype)initWithTitle:( NSString *)title selectedImageName:(nullable NSString *)imageName_selected unselectedImageName:(nullable NSString *)imageName_unselected {
	if(self = [super init]) {
		mstr_imageName_selected = imageName_selected;
		mstr_imageName_unselected = imageName_unselected;
		mstr_title = title;
		mstyle = [JsCvcIlStyle defaultStyle];
	}
	return self;
}

+ (JsCvcIlModel *)modelWithTitle:( NSString * )title selectedImageName:(nullable NSString *)imageName_selected unselectedImageName:(nullable NSString *)imageName_unselected {
	return [[JsCvcIlModel alloc] initWithTitle:title selectedImageName:imageName_selected unselectedImageName:imageName_unselected];
}

@end
